package com.dc.free.config;

import com.dc.free.controller.charity.ActionController;
import com.dc.free.controller.charity.BiddingController;
import com.dc.free.controller.charity.GoodsController;
import com.dc.free.controller.charity.LoginController;
import com.dc.free.interceptor.ActionInterceptor;
import com.dc.free.interceptor.CharityInterceptor;
import com.jfinal.config.Routes;

public class CharityRoutes extends Routes {

	@Override
	public void config() {
		addInterceptor(new ActionInterceptor());
		addInterceptor(new CharityInterceptor());
		add("/charity/login", LoginController.class);
		add("/charity/goods", GoodsController.class);
		add("/charity/action", ActionController.class);
		add("/charity/bidding", BiddingController.class);
	}

}
